make app context configurable