modified script to work in bash correctly (tested on ubuntu 12.04 LTS)
changed the final kill to send a SIGINT and ensure only the last background process is killed.
Merge pull request #19 from piyushk/gazebo-script-bash-fix

modified script to work in bash correctly (tested on ubuntu 12.04 LTS)