adding the metadata table and version information into the log file.