Try an alternative valgrind rule working with an intermediate script