 
     settingsBySelector = {}
     settingsBySelector[selector] = value
-    @usersScopedSettings.add @scopedSettingsStore.addProperties(source, settingsBySelector, @usersScopedSettingPriority)
+    @usersScopedSettings.add @scopedSettingsStore.addProperties(source, settingsBySelector, priority: @prioritiesBySource[source])
     @emitter.emit 'did-change'
 
   getRawScopedValue: (scopeDescriptor, keyPath, options) ->

          @scopedSettingsStore.removePropertiesForSourceAndSelector(source, scopeSelector)
          _.setValueForKeyPath(settings, keyPath, undefined)
          settings = withoutEmptyObjects(settings)
          @addScopedSettings(source, scopeSelector, settings, @usersScopedSettingPriority) if settings?
          @save() unless @configFileHasErrors
      else
        @scopedSettingsStore.removePropertiesForSource(source)

  resetUserScopedSettings: (newScopedSettings) ->
    @usersScopedSettings?.dispose()
    @usersScopedSettings = new CompositeDisposable
    @usersScopedSettings.add @scopedSettingsStore.addProperties(@getUserConfigPath(), newScopedSettings, priority: @prioritiesBySource[@getUserConfigPath()])
    @emitter.emit 'did-change'

  addScopedSettings: (source, selector, value, options) ->
