updated sql loading scripts