Updated code for using config vars on Heroku
Updated code for using config vars on Heroku