Added restart network functionality