Code improvements in course_ingest