add install code for length.rb to install.sh