Script to enrol a cohort in all courses in a category