Added SQL quit