added template script