modifications to get working with heroku