Setting up virtual machine