tweak download script to clean up archive