Added WIP-version for downloading packages in correct order