Move settings to local_settings and revert settings to original