Migrate for external_scripts - external_codes to external_scripts