Changed shell to bash, so it works on Mac OS X too.

Regenerating scripts on Mac OS X didn't work until I changed the shell to bash - thanks eku for the tip!