Creating Box to follow tangent vector of curve


My goal:
I create boxes based on Lunchbox (Grid structure). The boxes’s plane is world xyz as below image (red colour).

However, I would like to make the boxes’s plane is following the vector of SDL (green colour).

My question:
I think my issue is that I could not set correct plane of the boxes.
Is there any way to control the plane of boxes in order to place the boxes as the black colour the above image?

My files:
UV normal and (18.0 KB)
UV normal and Box.3dm (2.6 MB)

Thanks for your help in advance.

UV normal and (17.2 KB)