changes to work with heroku