changed shortname generation findShortNames(dirs)
added stats test option