updated vm_control.sh script