Fixes for #20 and adding programmatic filtering and piping (#3)