Final step has been implemented, download button works properly.