Fix errors when fetch script is modified while running.

The shell doesn't load the full script into memory, generally speaking.
By enclosing our commands in {}, we can force the block to be loaded, so
modifications to the script won't affect the running copy.