change test script to accept cmd line args