Updated teapot.py to work with new broadcast system