course-migration.py script