Tests ok
sql scripts updated