Fix how we're generating the profile.d scripts