Simplified the VM build and registration