PiBeacon scripts