Update startup script to use pgrep instead of grep -v