Fixed small errors in conversion scripts.