Replace tags from variables

Please add supporting path replacement for variables in templates.