# What does "Create isolated new context for script execution" do in "Run Real JavaScript" action?

**URL:** <https://community.folivora.ai/t/what-does-create-isolated-new-context-for-script-execution-do-in-run-real-javascript-action/30307>\
**Category:** Configuration Help & General Discussion\
**Tags:** scripting, real-javascript\
**Created:** [February 11, 2023, 5:23pm UTC](https://community.folivora.ai/t/what-does-create-isolated-new-context-for-script-execution-do-in-run-real-javascript-action/30307 "2023-02-11T17:23:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 11, 2023, 5:51pm UTC](https://community.folivora.ai/t/what-does-create-isolated-new-context-for-script-execution-do-in-run-real-javascript-action/30307/2 "2023-02-11T17:51:45Z")

</div>

by default BTT now runs all scripts in the same JS context for performance reasons. This is usually not a problem, but if you have multiple scripts that modify the same global variable it could lead to problems.

Basically the same as opening a new browser window/tab.

---

_[View the full topic](https://community.folivora.ai/t/what-does-create-isolated-new-context-for-script-execution-do-in-run-real-javascript-action/30307)._
