# Bug: Can't toggle off "Create isolated new context for script execution" in "Run Real JavaScript"

**URL:** <https://community.folivora.ai/t/bug-cant-toggle-off-create-isolated-new-context-for-script-execution-in-run-real-javascript/30317>\
**Category:** Bugs or Unexpected Behavior\
**Created:** [February 12, 2023, 4:00pm UTC](https://community.folivora.ai/t/bug-cant-toggle-off-create-isolated-new-context-for-script-execution-in-run-real-javascript/30317 "2023-02-12T16:00:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fortred2](https://community.folivora.ai/letter_avatar_proxy/v4/letter/f/e79b87/32.png) [@fortred2](https://community.folivora.ai/u/fortred2)\
**Post date:** [February 12, 2023, 4:00pm UTC](https://community.folivora.ai/t/bug-cant-toggle-off-create-isolated-new-context-for-script-execution-in-run-real-javascript/30317/1 "2023-02-12T16:00:52Z")

</div>

**Note:** Before bug reporting, please make sure you have tried the **latest** (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.  
✅

**Describe the bug**  
It's not possible to toggle off the _Create isolated new context for script execution_ setting in the _Run Real JavaScript_ action.

**Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):**

**Screenshots**  
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

**Device information:**

- Type of Mac: MacBook Pro 14-inch, 2021 – Apple M1 Max
- macOS version: 13.2 (22D49)
- BetterTouchTool version: 4.023

**Additional information (e.g. StackTraces, related issues, screenshots, workarounds, etc.):**

> [@What does "Create isolated new context for script execution" do in "Run Real JavaScript" action?](https://community.folivora.ai/t/what-does-create-isolated-new-context-for-script-execution-do-in-run-real-javascript-action/30307):
>
> I'm trying to understand what the toggle setting "Create isolated new context for script execution" in the "Run Real JavaScript" action does. I haven't found anything mentioning it in the Docs or the Community Forum. Screenshot showing where you can find the toggle:
