Fix errors occurring during network configuration and sending file (script) to remote VM.  Also fixed up some comments.