create script and test data