fixed SQL scripts; fixed labels;