Script to generate def files from CSV file, and slight modifications to CSV file.