added absolute paths for tempaltes