working with profile.d