Improved how I do the settings file