test script enhanced