Turned test script into a direct executable