now writing to usb only if the usb stick is present