Added CSV output when provided