Added migration script for images for thumbnails