Fixed a typo in the capture script