Modifications for heroku deployments