modified notification script