...
- the macro should be runnable both interactively and in batch mode
- if the macro returns data, it should write it to disk instead
- if the macro plots data, it should generate a graphics file instead
- if the macro has some parameters hard-coded into it, they should become command-line arguments