Get and Query commands working