add profiles and metadata