Added verbose logging option