added functionality to add custom /etc/hosts