Added sql discovery scripts.