more automation. exits instead of segfaulting.