ER Diagram and databse generation scripit updated.