Adding script to estimate confidence intervals and control parameters.