Capture script tweaks.