build script and test script