to run script in single model or multi-model