refactor the passenger install script