added support for heroku hosting