added sample code for heroku envs