wrote a couple definitions for evalScript