when writing configuration, also set variables for new mods