add template, fix paths of the template in the manifests