Add -ex to bash so we can tell why it's failing