Starting to fix scripts for converting old-style files.