add paperclip support