Program works only with USB and not direct connection