added back brew cmd, a refactoring for the 'new' cmd completed