Added filtering and try catch. Upgraded to use argparse