extracted EMS details now saved to a .csv file for further analysis