Updated conversion scripts for MacOSX