Improved error handling
Set up hosts file on node