Added enhanced support for priveledged shells