Save programs from XML API