refactor install.rb and add source bashrc