Updated script to handle XML sample responses -> C#