Modify shell tutorial to get compressed data