Add support for outputing schedule in csv form