Added global template variables