Looks like pgrep -q was unsupported on Ubuntu... fkkkkkkk