up the context
prepare for config