alterations to query for multi-account support, advertising in templates