Tweaking for Heroku deployment.