test script fixed