fixed import_export script