Oops, forgot to change the echo back to query