modified so that script uses vpcs instead of standard vm