cleaned up the parametric bootstrap script and eliminated need to re-run after tuning the model