modifications for deployment to heroku