support a list of  cmds