adding verbose logging option - defaulting to false