New VM script and bugfix on create_vm.sh