Changed task name to insertTemplate