benleb code used throughout. boeeerbs test.py does not work with the pyglow.py from benleb