Fixing netinfo script.