an almost full rewrite of process-archive.sh script, now does almost everything but still is slow... (needs more testing)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>