Fix typo in capture script