filter_cs.py update