Commandline version.