Made parser single-threaded for debugability
updated sql script