Revamp vm scripts again.