run db scripts after deployment

concerns #639