Adds --halt flag to trigger HALT_ON_ERROR behavior. Closes #10