updates for Heroku
Fix for Heroku port setting.