code was misplaced when we changed result processing also cleaned up import and clarified item/label fixes #17582