Script to build virtual machine