Implemented Paperclip functionality