Some minor changes to the convert script.