Replace the filter scripts with go code. Much faster.