NOREF: Changing the scope type to the older scope.lookupvar since scope[] is apparently for hashes