Add download logic for setup script