Use absolute path for templates instead of relative path