Make heroku friendly.