Sql script fixed.