Added Paperclip functionality