 
         # Default to rail delays
         else
-            msg.http("http://api.wmata.com/Incidents.svc/json/Incidents?api_key=xqv42tjfvz4abb9y9averdvd")
+            msg.http("http://api.wmata.com/Incidents.svc/json/Incidents?api_key=#{key}")
                 .get() (err, resp, body) ->
                     results = JSON.parse body
                     for i in results.Incidents


            # Bus arrivals by 7-digit stop ID
            else if search.match /^\d{7}$/i
                msg.http("http://api.wmata.com/NextBusService.svc/json/jPredictions?StopID=#{search}&api_key=xqv42tjfvz4abb9y9averdvd")
                .get() (err, resp, body) ->
                    arr = []
                    results = JSON.parse body

            else if search.match /^\d+\s.+\s(nw|ne|sw|se)/i
                results = geocoder.geocode "#{search} washington, dc", (err, resp) ->
                    arr = "Here's what's nearby:\n\n"
                    msg.http("http://api.wmata.com/rail.svc/json/jStationEntrances?lat=#{resp[0].latitude}&lon=#{resp[0].longitude}&radius=200&api_key=#{key}")
                    .get() (err, res, body) ->
                        results = JSON.parse body
                        if results.Entrances.length > 0
