Minor polishing of convert script