Adding absolute path substitution to template.