 			console.log 'tweeting ',v.header_text 
 			tweet v.header_text
 			nParams.method='post'
-			nParams.url = "https://#{config.couch}@calvin.iriscouch.com/mbta"
+			nParams.url = "https://#{config.couch.user}:#{config.couch.pw}@#{config.couch.server}/#{config.couch.db}"
 		nParams.body=v
 		request nParams,(e,r,b)->
 			true

start = ()->
	console.log 'running it time ', ++i
	request params, (e,r,b)->
		b.alerts.forEach eachAlert
		true
	true


eachAlert = (v)->
	v['_id']=v['alert_id'].toString()
	nParams = 
		url:"https://#{config.couch.user}:#{config.couch.pw}@#{config.couch.server}/#{config.couch.db}/#{v._id}"
		json:true
	request nParams,(e,r,b)->
		if r.statusCode == 200
