deploy_extra_import, deploy_extra_export: refactoring