Add callback support for command execution
Add callback support for sudo command execution