Add script context iterator.

Signed-off-by: Toha <tohenk@yahoo.com>