Update capture script