add template dir for hooks