configure enviroment to work with heroku