tweaks to work with heroku