Small addition so that it actually writes out the updated csv file.