compile and test scripts