Do not overwrite mainConfigFile setting if present