Had it write output to CSV