Modified paperclip.rb