getting the usbIsPresent and the popen issues fixed 

First test the changes cos am lacking distros at the moment and dont forget to update the issues list