add exec support to the configuration file

exec: <executable command>
can now be used in the configuration file to exec an arbitrary command
to generate the configuration file.

Note that only one exec can be in the configuration file at the moment