hopefully fixed bug
configured environment to work with heroku