adjust env settings