adapted to new option callback behavior in notify plugin