updated scripts for xml format LHE file