add segmentDirectory instructions to the readme