made some minor chnages to make the code work but still need to fix the download site