Refactored CommandLineSlicer