changing template directory paths