+{CompositeDisposable} = require 'atom'
+
 # Dependencies
+{exec} = require('child_process')
 fs   = require 'fs'
-path = require 'path'
 shell = require 'shell'
-
-{CompositeDisposable} = require 'atom'
 
 module.exports = BrowsePackages =
   self: 'browse'
+  debug: false
   subscriptions: null
- 
+
   activate: ->
+
     # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable
     @subscriptions = new CompositeDisposable
 

        continue

      # Open project folder
      shell.showItemInFolder(project)

  browseConfig: ->
    configFile: atom.config.getUserConfigPath()
    configPath = path.dirname(configFile)

    # Does config folder exist?
    try
      fs.accessSync(configPath, fs.F_OK)
    catch error
      atom.notifications.addError(@self, detail: error, dismissable: true)
      return

    # Open config folder
    shell.openItem(configPath)

    @subscriptions.dispose()

  browsePackages: ->
    packageDir = atom.packages.getPackageDirPaths()[0]

    # Does packages folder exist?
    try
