modify tester file to be ruby script