Modified shebang to use bash not sh per http://wiki.bash-hackers.org/scripting/style recommendation.