Add export and import to tool

Add export and import to tool