added a few hooks/filters for modiyinf the notification flow