add state filter script