This script will print out either a list of all zones or a list of all nodes and optionally write them to a file.