Added print to result.txt to driver