add image migration script