CSV reporting functionality added