adding notification history script