adding heroku compatibility