added setting batch mode because this program does not need graphical output
added support for a new command line option --set to set certain variables before taking the main action of a tool