@QiuMike get it so start_vm should be set inside the script before you want to start the vm like:

param['start_vm'] = "yes"
env_process.preprocess_vm(........)