adding automate_build.rb script