remove unused/duplicate scripts
merge various archive search utils into one
clean up logging,comments
update comments