add export cammand and test code now!

add export cammand and test code now!