run.py modified for broadcast connection