Added support for multiple cmds