[Qickhack] add primary.xml generation
 + gz file name