configure template script.