modified transform script and transformed documents