Writing to a csv file from builder

Hello,

Could you tell me what is the cleanest way to write to the experiment’s csv from builder?

I have turned of logging checkboxes wherever possible when it is associated with a mouse, a text component etc. but i still have remnants in the .csv file.
Please see below.

number,trials.thisRepN,trials.thisTrialN,trials.thisN,trials.thisIndex,response.text,mouse_2.x,mouse_2.y,mouse_2.leftButton,mouse_2.midButton,mouse_2.rightButton,mouse_2.time,mouse_2.clicked_name,
,32.5,0.08375,-0.40875,1,0,0,8.354066008003429,endButton,1,001,2021_Jan_12_1435,2020.2.3,59.89143745776401,

Also, the stuff that I was interested in writing, such as the text below,
thisExp.addData(‘s8 e4 r90 p1 a’,b);
does not show up in the csv file.

OS (e.g. Win10): mac sierra
PsychoPy version (e.g. 1.84.x): 2020.2.3
Standard Standalone? (y/n) If not then what?: scratch build