fixed the save2new functinality
Updated routine types