Fixed device name bug in script.
Merge branch 'master' into feature/allow_sdcards
Fixes usb devices not working