Update mindread && mindcap script.