`sudo` may be in different locations on different systems, perhaps implement a function to locate it. Perhaps the output of `which sudo` can be used. Right now `/usr/bin/sudo` is hardcoded.