Added command line parameter to turn on/off z-plotting functionality.