Adding optional key value arguments seems a bit excessive? (and also, quite hard and tricky, according to http://tex.stackexchange.com/questions/58069/newcommand-key-value) I'd suggest just removing the IP adres?