Update archive_cleanup.sh

fixed the archive_cleanup issue as per libraries.