update subset_taxonomy.py to include flags