setting up program to be able to run auto and output all results to files