Added more debug level logging.