added checking for notify-send