Add relay ip attribute
Whitespace fixes