Fix heroku port error

Allow for the use of the local 5000 or for the heroku designated port