removed unneeded options, added -z and --stats options