Added the ability to save the results to a path.