added template directory back