improvements on excel exporting appointments