Completed some more of the converter script.