added nzsql and nzload wrappers