script db ready