There was a typo in the regex from populate_lessons which prevented it from parsing anything. Fixed.