Updated hosts file support