use enviroment configuration