Making changes to the WriteIntervals CommandLineFunction.
--probably still isn't right, I am confused about what it's supposed to looks like.