movie-mode scripts accelerated, masking now on reference instead of frame