Extended executeCommands.