added paperclip and cookie.photo