# Expression tag with runscript don't take account script overrided

**URL:** <https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [August 23, 2019, 10:52am UTC](https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704 "2019-08-23T10:52:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [August 23, 2019, 10:52am UTC](https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704/1 "2019-08-23T10:52:06Z")

</div>

@awalker ,  
can you please fill a ticket for :

**Ignition 8.0.4-NIGHTLY - 21/08/2019**  
I’ve overrided a “shared” script inherited from another project

In a **Tag expression** , I call the script with **runScript** (“shared.tag.alarm.myFunction”,0)

The script executed is not the overrided version.  
I have still the issue after a gateway restart

![bug](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c1905707f8bb97624d6370d9b2cb717f0a663cc2.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 23, 2019, 12:44pm UTC](https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704/2 "2019-08-23T12:44:34Z")

</div>

What is the Gateway Scripting Project setting configured for? If it’s pointing at the parent / global project this behavior is correct.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [August 23, 2019, 12:56pm UTC](https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704/3 "2019-08-23T12:56:33Z")

</div>

Yes, Gateway Scripting Project = global  
I see, If I wan’t the expression use the same script (with eventually some override), I have to set  
Gateway Scripting Project = MyProject ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 23, 2019, 12:57pm UTC](https://forum.inductiveautomation.com/t/expression-tag-with-runscript-dont-take-account-script-overrided/27704/4 "2019-08-23T12:57:35Z")

</div>

Yes, but then you may break any other tags etc relying on their script being in the global project.

Edit: err not exactly. They will be part of MyProject if it inherits global. But just be aware you get one project for all gateway scripting actions.
