Changed to initilize global context on first use