Fix to include the correct export file name if specified as a config parameter