fixed the order of the installation and downloads