main settings file cleanup