Updating filtering script.