Got the CSV writer to work as well as added headers