Combine 2 scripts

I would like to combine several scripts:

A The Goal of the script => dynamo sets the value “1” to each element on Revit when it finds its ID in Excel, otherwise it reaches the value “0”.

B: The goal of the script => send all the Excel data corresponding to each ID to Revit.

Each script works individually but I would like to combine the 2 (AB) … Do you have a solution please? thank you in advance