new program to sync with udmz
fix error reporting for cli programs