Fixed DB script