adding analysis ruby script