reworked to prepend hosts in /etc/hosts