tweaking scriptfilter.py