Finished updating notification code to use pynotify