Add script skel and template XML