added cookbook attribute for template