As far as i know, if `sudo` fails, this script will not fail immediately, which may cause unintentional affect.