Added a debug feature to print out stderr from running scripts
Fixed rhIterator