tools/sandbox.sh fixed