Helper script for db.