updated to have a new ics method for generating calendar events.