Script now creates an output directory for all output files.  It also removes any existing output files if they exist