added support for multiple core packages