Bug Fixes in RubyScript