It now execs bash, so the process chain doesn't get needlessly long with nested calls to the script.
This script creates a new temporary folder and starts a bash shell in it. After the shell exits, the directory is deleted.