added download function to external storage
added the right files for download to external storage