Enable flags and add a verbose logging flag