export script added
Some small fixes