Added paperclip functionality