add a lot of extra header data based on meta data in files