Change to get the scope in the window now.