Added ability to set sub commands