Convert to command-line script.