I tried running this script but I get a script error Error in parameters in str ExpandenvironmentVars