added check for sudo when using console commands as the later needs to manipulate directories and servers.
added check for sudo when using console commands as the later needs to manipulate directories and servers.

soajs/soajs.installer,soajs/soajs.installer,soajs/soajs.installer,soajs/soajs.installer,soajs/soajs.installer