That looks like a more reasonable fit.
I’ll work on adding remote and local messages.
That way one script will work regardless of receiver.
Edit:
Whoever wants to plot this graph, first install gnuplot:
sudo apt install gnuplot-nox --no-install-recommends
Then just use this command:
sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/adsb-wiki/master/caius_scatter_plot.sh)"
The graph will be available via web, replace pi with the ip-address of your RPi:
http://pi/dump1090-fa/data/graph.png