Simple db_pull script