updated oscilloscope test script