update run_swarm.py