revise install script