added absolute path to templates