Use sandbox detection in Export Selection commands