sql scripts for old db
cleanup