Add check for local network