updated the template to have knowledge of the current folder and use that in the form