Adding menu to publish query