add config with env