Added search and download functionality