Made it suitable for deployment on Heroku.