Indent
Remove dead code
Reuse LinesReader in get_exec