Changed variable naming packageLists to packagesList