modified configNewHost.sh