Adding a simple script to register a new device (MAC, IP, key, and device name)