tweaked deployments code so we now have avg_speed and not next_surfacing