ADDED export sql of database