Rewrite conversion script to include bundled saxon and xquery libs