Updated conversion script. Fixed a typo