Adds global variables for usb connection