I have actually tried matching the opening body tag and inserting the scripts right afterwards… you could leave out `utils.prependScripts` completely then and just change the following lines like this:
```js
body = body.replace(/<body.*?>/i, function (openingTag) {
    return openingTag + tags;
});
```
This however leads to failure of the test `can append the script tags to the body of a LARGE html FILE` (in `Launching a server with snippets` and `Launching a proxy for connect server`) for reasons which I have not been able to track down yet.