Added cartridge functionality to handle multiple types of applications