Revert "simplify the sandboxed helper scripts"

This reverts commit c6765e7128ed872ea7c69fd560b8cf7042755b33.