               if (service.id.search search_string.toLowerCase()) > -1
                 found = true
                 form = status: status, message: message
-                options = urllib.parse(@base_url + '/services/' + service.id + '/events')
+                options = urllib.parse(@baseUrl + '/services/' + service.id + '/events')
                 options.url = options
                 options.method = 'POST'
                 headers = 'Authorization': oauth.makeAuthorizationHeader(@state, options)


    robot.respond /stashboard (status|sup|\?)/i, (msg) =>
      msg.send 'Checking stashboard status ...'
      stashbot.get_status_all (err, status_msg) ->
        unless err?
          msg.send status_msg
        else
          msg.send err

    robot.respond /stashboard set (.*?) (.*?) (.*)/i, (msg) =>
      stashbot.set_status msg.match[1], msg.match[2], msg.match[3], (data) ->
        msg.send data

              serviceMsg += ' ' + service.name
              cb(null, serviceMsg)

    setStatus: (search_string, status, message, cb) ->
      found = false
      request.get @baseUrl + "/services", (error, data, response) =>
        if response?
          services = JSON.parse response
          for service in services['services']
