Code for creating WHD-Plus database