course-migration.py script

@nasthagiri 
I thought this was a duplicate of a case below this one but when I removed it, I received a different output (less accurate result). I will leave this for now and look closer afterwards.