Fix bug with the notifier script