Minor - format code + adding exit after a header call.