test script and small errors