add scripts/filter_dict.py