prepared script.rb and analyze.rb