added env widget for environment detect and load config by environment