Clean up sending on excel file, and fix a bug in enrol_waiting