Updated template according to new script