added protocol and other options for notifications