more changes to “set_settings”