add export-library-to-xml script