fix for usb and rename sname in scripts