added webcam directive