Added an exporting script.