# Runscript() not working after upgrading from 7.9 to 8

**URL:** <https://forum.inductiveautomation.com/t/runscript-not-working-after-upgrading-from-7-9-to-8/23993>\
**Category:** Ignition\
**Created:** [April 10, 2019, 1:12pm UTC](https://forum.inductiveautomation.com/t/runscript-not-working-after-upgrading-from-7-9-to-8/23993 "2019-04-10T13:12:03Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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:** [October 17, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/runscript-not-working-after-upgrading-from-7-9-to-8/23993/13 "2019-10-17T15:07:47Z")

</div>

@Kevin.Herron, I think I encounter a similar issue:  
**Ignition 8.0.5**  
Gateway Scripting Project set to “global”  
I’ve create a new **tag expression** with a runscript.

```auto
runscript("shared.tag.alarm.test",0)

```

in the global project:

```auto
def shared.tag.alarm.test()
  import shared.tag.util
  return 0

```

Expression return :

```auto
[null, Error_ExpressionEval("Error executing script for runScript() expression:shared.tag.alarm.test"), Thu Oct 17 17:04:44 CEST 2019 (1571324684504)]

```

if I supprim the import, tag expression is OK:

```auto
def shared.tag.alarm.test()
  return 0

```

The same expression with the import inside the shared.tag.alarm.test, works with no issue in 7.9

---

_[View the full topic](https://forum.inductiveautomation.com/t/runscript-not-working-after-upgrading-from-7-9-to-8/23993)._
