Added an input control for choosing IP address and what input to use