Added support for a verbose flag to aid debugging