use slave mode instead of lua and udp