Migrating from the old WSGI environment for Heroku