runnable class to test scripts