Added support for mor than one level pack