Attempting to fix valgrind script.