added setup of host-only adapter in VirtualBox if one does not exist; organized script in functions