Added program status print statements.