added -Z option for debugging.