Simple script to query the archive