cleanup and fix install.rb