Fix for Heroku not rendering pages