Script that take pictures from the webcam.