Changes needed for deploying to Heroku