Tried to make it only separate SQL commands and data chunks, almost there