Ambient context scope

Ambient context scope added