enabling the tool to accept either IP address or master ID in the same field