set-name: script to set the device name