added STDIN for cohort and country input