further improvements to importCalendars