add code to use heroku as staging server