fixed export and import scripts;