pack and read.scor altered for the edge attributes