reordered install script