script modified to adapt to objects for packetEntries and config