Adding bug-fix for heroku and paperclip