migrations corrected and paperclip added