new script to cleardb