Add a --arg option to allow variables to be passed from the cmdline.

Closes #107