Change env params from argument to global process params.