Using $SUDO instead of sudo

to comply with configuration at the beginning of the file
Merge pull request #17 from mactown/hotfix/sudo

Using $SUDO instead of sudo