Fixed SQL script more