yes to all the script resources, it's useful for bash#environment as your example shows.

it seems you have a mechanism to override it, so i'm not sure why it'd need to be configurable.

in the implicit string-form, though, i'm not sure but if the bash script already does something like this, are we introducing a technically backwards incompatible change by doing it?