Initial version of updated cmdExec

Switched to the plugin methods