Updated tracker script, for now empty templates are not showing