Add code to change player ip dynamically