Added support for sudo commands