Previously we were just saving the loaded modules which resulted in zero modules being saved to disk.