Fix webcam script.