Changes in template and cartridge scripts