added pnotify for notifications
added pnotify for notifications
encoded search string