added pynotify support