Changed the reference to scriptKey to be a static reference, since
that's the way it's supposed to be accessed.