use bash "strict" mode
Merge pull request #372 from mossprescott/ready/publish-script

use bash "strict" mode