Script version with new codec. Varian 1