Moved all the filtering and plotting into a single shell script that can be customized.