change picture path names for heroku and s3