Updated the script so it runs the tests itself.