making sure set-default-env is used