changed the network metric queries to use $element_id instead of $elementList[0]