added paperclip for event image processing