node density index script