Added support for user defined output fields in CSV and user defined end-to-end status transitions in output.