added --nostatlog option