added cartridge operations and fixed application operations