improved notification plugin