Loading and unloading smart cartridges