db own script