make write-host work for sudo
sudo: better write-output override?