changed config file generation location in script