Adding the design doc code.
Only display one notification, not all of them.
Adding some perl warning protection