Set context from env instead of request