added paperclip s3 functionality