improved vcloud test script