fixing localhost references for heroku