add package template stuff