batch script to generate metrics for all latest submissions