export using the download attribute

also in export database too