adding template and pathmunge