modified sql scripts