Made changes to Paperclip