Setup templates dirs and a template path variable