add chunk name to template