Updated to track the order in which things finished for the final log output.