Added some template insertion script