run_script.rb works with modified RightAPI.rb