I\'m wondering if someone would be able to help changing the below script logic, so it would create a csv file and append the file directly with results and
results