added switches to control video selction open/close connections funcitonality