adding meta data at the top of the file + ids