Populating Template Toolkit variables