updated script to calculate second study results