fix xslt stream for generation of multiple scripts