modify for deployment to heroku