Update the sql
remove unused scripts
Fixes