only sudo once when adding lines to /etc/hosts/

- fixes double-sudo behavior when attempting to update /etc/hosts/
- fixes #14