Fix for deploying on Heroku