   # Creates a pow proxy and a symlink into katon path.
   link: (path = pwd())->
     name = path.split('/').pop()
+
+    console.log();
     shout.to "#{@powPath}/#{name}", "4000"
     shout.mkdir "#{@katonPath}" unless test '-d', "#{@katonPath}"
     shout.exec "ln -s #{path} #{@katonPath}"

    plistContent = eco.render template,
      nodePath: which 'node'
      daemonPath: "#{__dirname}/../lib/daemon.js"
    shout.to "#{@launchAgentsPath}/katon.plist", plistContent
    shout.exec "launchctl load -Fw #{@launchAgentsPath}/katon.plist"
    logan.info 'Katon daemon was successfully set up'

  # Unload:
  # Removes katon.plist from $HOME/Library/LaunchAgents/
  unload: ->
    shout.exec "launchctl unload #{@launchAgentsPath}/katon.plist"
    shout.rm "#{@launchAgentsPath}/katon.plist"

  installPow: ->
    logan.info 'Installing Pow'

  # Destroys what was created by link.
  unlink: (path = pwd()) ->
    name = path.split('/').pop()

    console.log();
    shout.rm '-f', "#{@powPath}/#{name}", "#{@katonPath}/#{name}"
    logan.info "Successfully removed #{name}"

