AviSynth with improvements