Useful changes to PoisonProcess.sh and other modification