Added index to output CSV.