wpath and wquery commands