Remove unnecessary stats from the scripts, and add automatic graph generation