changed the order the courses are generated in to help with debugging
changed boolean to string so I can make it lower case before inserting it into the xml