printsql improved