added webcam page and modified script to manage SX and DX buttons