Fixing config and txtRecord scope.