simplify configuration of env