change how to build sub commands