Run once from command line.