Added package check