implemented default_context selection on application load