VM script a bit of changes