Updates processCommands() to check for all required bricks.