add party mode, minor change in command pattern matching