Modified to use baton-metaquery instead of imeta.

Culled unwanted files.