Fixing the settings files