Make path to perl portable
difined(array) is obsolete
Added -N option to scpecify nameserver to use