Added automatic export of the configuration file directory (etc) to the executable path.