added a serial option for download and remote_retrieve