add support for environment related prefs

Change-Id: If0db14c74a715847448855de13f099ce7dd02b76