Delaying debug output until we're certain that orders is loaded