updated version with Heroku