changes to work on Heroku