added scripts and template xml file