Added output to CSV