adding template directory