changed how the config variables are set