Added paperclip and doc attaching