Execute sub-commands