improoved .sql file