Gadget in scripts on Raspberry Pi