       # actual initialization after atom has loaded
       GitHubApi ?= require 'github'
       PackageManager ?= require './package-manager'
+
       atom.commands.add 'atom-workspace', "sync-settings:backup", => @backup()
       atom.commands.add 'atom-workspace', "sync-settings:restore", => @restore()
       atom.commands.add 'atom-workspace', "sync-settings:view-backup", => @viewBackup()
+
       @checkForUpdate()
 
   deactivate: ->

[GitHubApi, PackageManager] = []

# constants
DESCRIPTION = 'Atom configuration storage operated by http://atom.io/packages/sync-settings'
REMOVE_KEYS = ["sync-settings"]

module.exports =
  config: require('./config.coffee')

  activate: ->

    catch e
      console.error "Error reading file #{filePath}. Probably doesn't exist.", e
      null

module.exports = SyncSettings
