Added global tpl variables