updated for heroku
fixed getenv namespace
Merge pull request #1 from agoddard/master

using env variable for heroku