Changed output parameter to avoid double declaration of localhost address in /etc/hosts