Added debug to try and get hardware scanning to work.