Copied app context from sample 2.4.0 proj