updated script and courses.json for output to one file