added -resume parameter to continue a previously aborted harvesting