     fileFetchTimeout     : 1000 * 15
     userIdleMs           : 1000 * 60 * 5
     embedly              : {apiKey       : KONFIG.embedly.apiKey}
-    github               : {clientId     : github.clientId}
+    github               : {clientId     : credentials.github.clientId}
     newkontrol           : {url          : "#{kontrol.url}"}
     sessionCookie        : KONFIG.sessionCookie
     troubleshoot         : {idleTime     : 1000 * 60 * 60           , externalUrl  : "https://s3.amazonaws.com/koding-ping/healthcheck.json"}

      options.exclude or= []

      env = """
      export GOPATH=#{projectRoot}/go
      export GOBIN=#{projectRoot}/go/bin
      """
      env += "export #{key}='#{val}'\n" for key,val of KONFIG.ENV when key not in options.exclude
      return env

        function worker_daemon_#{name} {

          #------------- worker: #{name} -------------#
          #{command} &>#{options.projectRoot}/.logs/#{name}.log &
          #{name}pid=$!
          echo [#{name}] started with pid: $#{name}pid

