Replaces awk subprocesses with native Python code
Merge pull request #166 from willroberts/master

Replaces awk subprocesses with native Python code