ADd some additional variables to the template