analysis script and output files