add support for templating in vars_prompt