Adjust protocol for heroku compatability.