Modified to support only the primary external storage.