scripts for db pop