Fixed to use pgrep instead of killall