Updated filtering scripts.