change sh to bash
add set -e
Merge pull request #18 from nicescale/testing

Testing