add metadata and profiles