Method for writing CSV data and fix the distribution script to expect the extra entry.