Modify scripts to generate the statistic with multiple SFs