switch to re.finditer for output parsing. add help message