load templates from the right directory