how should we get session.config populated?