minor change on capture script