try to use script mode to build and test