Replaced hard coded links for showing lineage view and edit view from double clicking a mouse, and used a variable for current host.