changed the order in which the datapackets are generated
comments added for use in 7.65
commit with no changes