added template and fixed yaml