replay script read hub address and some caps changes