createZip and downloadSelected updated