Use a script so you can write something resembling real code and reason about how it works.