Added reading SQL scripts in text classes