Status message output moved to end of loop