relativized paths with COMMITMENTS_ROOT, and inlined a few commands that do not need to exist