added metadata to yaml instead of template