Parametrically change curve input

Hi everyone, I have made some parametric tube-passageways which the only input it needs is a curve. So I want to demonstrate with animation how it can create these tubes with any given curve, is there any way I can run the grasshopper commands for these 3 curves one after the other?

List Item