adding download function to page