Export script added.
Logging added.