Add script to calculate the progress stats for a course