add setting to context in page resources and node