Added check for null package
Shared items are now read in from the device