Calling sudo inside may be problematic

Hi Grant... pleas review this :-).