Add backward-compatibility for remote program image