properly enable and disable mods