fix for heroku
implemented env vars for nodejitsu AND heroku