add def path for templates