changes to script of xml