add a metadata directive