Updated scripts for capture.