add option for additional conditions in cohorts script