change the way we do ipaddr vars, will probably rework this again later down the line