Add get-pid.sh & other minor changes