fix for ScriptEngine blocked load

This is a potential fix for scripts not loading on launch and then double loading once clicked on in running scripts.