more work on export commands