added verbose logging flag parsing