[close #277] Use profile.d for all environment variables