Finally got paperclip working.