new feature fixed #178 add sql scripts