Fix bugs on install script, remove bash_history