added in executive metadata query, but this isnt fully functioning yet.