changes for sql import