throw 1 as an exit retcod when things go wrong