Completed rake task for moving images to the new polymorphic relationship