CMS-4554 Implement content.query script method