Fixed conversion scripts to use command line arguments.