Add code to change player ip dynamically and some test features.