finish script for testing set