Added a raw option that prints cids only