added script to manage vm instance