changed the structure of script xml files