Exit process after scaffold

Fixes #177