makes dist compatible with Heroku