working function that prepend E or H to existing facility_ids