Fix context executeOrder function - send through environment