maybe fixed scope issue with eval for script import