wired up selected events to generate notes file