# Gateway startup script

**URL:** <https://forum.inductiveautomation.com/t/gateway-startup-script/79395>\
**Category:** Ignition\
**Created:** [September 20, 2023, 1:41pm UTC](https://forum.inductiveautomation.com/t/gateway-startup-script/79395 "2023-09-20T13:41:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bopguap](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bopguap](https://forum.inductiveautomation.com/u/bopguap)\
**Post date:** [September 20, 2023, 1:41pm UTC](https://forum.inductiveautomation.com/t/gateway-startup-script/79395/1 "2023-09-20T13:41:34Z")

</div>

I have made changes to my gateway startup script on my global project. When I launch my secondary project which is tied to my global project, it seems like it runs some older version of my startup script because I cannot see the changes I've made being applied to the project.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 20, 2023, 1:43pm UTC](https://forum.inductiveautomation.com/t/gateway-startup-script/79395/2 "2023-09-20T13:43:36Z")

</div>

All gateway event scripts are (currently) the same resource on disk, so project inheritance is "all or nothing" - either you have the parent's definition or your local project's, for _all_ gateway event script types at once.

This is planned to be fixed in 8.3.

---

<div class="post-metadata">

**Author:** ![bopguap](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bopguap](https://forum.inductiveautomation.com/u/bopguap)\
**Post date:** [September 20, 2023, 1:53pm UTC](https://forum.inductiveautomation.com/t/gateway-startup-script/79395/3 "2023-09-20T13:53:08Z")

</div>

So is there something I can do to apply the changes I've made to the script. (I am new to Ignition so I am not very familiar with the software).

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 20, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/gateway-startup-script/79395/4 "2023-09-20T13:55:33Z")

</div>

> [@bopguap](#):
>
> startup script on my global project

The correct answer (for now) is to not define any events in inheritable projects. Define them on the leaf projects. If you want them to all do the same thing, each event would have a one-line call to a function in a project library script, passing the necessary event values as function arguments. The project library script itself can be inherited.
