VID-1711 Update this script to run with runOnCluster

Is it possible to change the arguments' order so that params comes before optional args?