Added with SQL output. (For the new nut.py)