Adding doExec as exec