add a shell script to generate the result files