some changes to importExport