Fixing heroku path manipulation