Added in logic to disable and reenable modules but we have to remove the required core modules from that list before proceeding