updated to paperclip > 4; this version does not work with older versions of paperclip anymore