Added option to execute only sub commands