made some changes to install script