Brett - modified the ER code and graphs
Brett - added configuration graphs