Added the option to define fields on the command line rather than specifying them at runtime