setup.pl - add run_cmd_api for setup.pl.