Let user download the zip and improved clear function