Fixed environment to work with Heroku