Add auto configurations for env in web
Change check environment for supports cli