added paperclip for file uploads on units