All the commands works now in query