added migration of fields in copy files and image files.