Integrated the VMManager in the python code