Paperclip functionality added