Made changes to clickDownload to iterate through all the forms