scripts migration to v10