added support for Heroku deployment