all sql querys in one file, and add cleanup querys before insert