Improvement to video-replacer