added script to load flat_cohort_table