Updated sudo code

Signed-off-by: Anthony Anderson <LordIllyohs@gmail.com>