Call the correct download function