Use #!/bin/bash -ex