How to drive a car/trolley on a path


What is the best way to make this trolley move along this orange path?
The path is imported from another software and I want to go back and forward along this mesh, no steering is needed.

I have used this basic car script:

But how can I prevent it from falling of?

You got any solution? I am also trying to achieve this.