Added new hierarchy and database script